3.1.2 \(\int x^5 (a+b \sec ^{-1}(c x)) \, dx\) [2]
Optimal. Leaf size=89 \[ -\frac {4 b \sqrt {1-\frac {1}{c^2 x^2}} x}{45 c^5}-\frac {2 b \sqrt {1-\frac {1}{c^2 x^2}} x^3}{45 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^5}{30 c}+\frac {1}{6} x^6 \left (a+b \sec ^{-1}(c x)\right ) \]
[Out]
1/6*x^6*(a+b*arcsec(c*x))-4/45*b*x*(1-1/c^2/x^2)^(1/2)/c^5-2/45*b*x^3*(1-1/c^2/x^2)^(1/2)/c^3-1/30*b*x^5*(1-1/
c^2/x^2)^(1/2)/c
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5328, 277, 197}
\begin {gather*} \frac {1}{6} x^6 \left (a+b \sec ^{-1}(c x)\right )-\frac {b x^5 \sqrt {1-\frac {1}{c^2 x^2}}}{30 c}-\frac {4 b x \sqrt {1-\frac {1}{c^2 x^2}}}{45 c^5}-\frac {2 b x^3 \sqrt {1-\frac {1}{c^2 x^2}}}{45 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[x^5*(a + b*ArcSec[c*x]),x]
[Out]
(-4*b*Sqrt[1 - 1/(c^2*x^2)]*x)/(45*c^5) - (2*b*Sqrt[1 - 1/(c^2*x^2)]*x^3)/(45*c^3) - (b*Sqrt[1 - 1/(c^2*x^2)]*
x^5)/(30*c) + (x^6*(a + b*ArcSec[c*x]))/6
Rule 197
Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[x*((a + b*x^n)^(p + 1)/a), x] /; FreeQ[{a, b, n, p}, x] &
& EqQ[1/n + p + 1, 0]
Rule 277
Int[(x_)^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[x^(m + 1)*((a + b*x^n)^(p + 1)/(a*(m + 1))), x]
- Dist[b*((m + n*(p + 1) + 1)/(a*(m + 1))), Int[x^(m + n)*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, m, n, p}, x]
&& ILtQ[Simplify[(m + 1)/n + p + 1], 0] && NeQ[m, -1]
Rule 5328
Int[((a_.) + ArcSec[(c_.)*(x_)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcSec[c*x]
)/(d*(m + 1))), x] - Dist[b*(d/(c*(m + 1))), Int[(d*x)^(m - 1)/Sqrt[1 - 1/(c^2*x^2)], x], x] /; FreeQ[{a, b, c
, d, m}, x] && NeQ[m, -1]
Rubi steps
\begin {align*} \int x^5 \left (a+b \sec ^{-1}(c x)\right ) \, dx &=\frac {1}{6} x^6 \left (a+b \sec ^{-1}(c x)\right )-\frac {b \int \frac {x^4}{\sqrt {1-\frac {1}{c^2 x^2}}} \, dx}{6 c}\\ &=-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^5}{30 c}+\frac {1}{6} x^6 \left (a+b \sec ^{-1}(c x)\right )-\frac {(2 b) \int \frac {x^2}{\sqrt {1-\frac {1}{c^2 x^2}}} \, dx}{15 c^3}\\ &=-\frac {2 b \sqrt {1-\frac {1}{c^2 x^2}} x^3}{45 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^5}{30 c}+\frac {1}{6} x^6 \left (a+b \sec ^{-1}(c x)\right )-\frac {(4 b) \int \frac {1}{\sqrt {1-\frac {1}{c^2 x^2}}} \, dx}{45 c^5}\\ &=-\frac {4 b \sqrt {1-\frac {1}{c^2 x^2}} x}{45 c^5}-\frac {2 b \sqrt {1-\frac {1}{c^2 x^2}} x^3}{45 c^3}-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x^5}{30 c}+\frac {1}{6} x^6 \left (a+b \sec ^{-1}(c x)\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 72, normalized size = 0.81 \begin {gather*} \frac {a x^6}{6}+b \sqrt {\frac {-1+c^2 x^2}{c^2 x^2}} \left (-\frac {4 x}{45 c^5}-\frac {2 x^3}{45 c^3}-\frac {x^5}{30 c}\right )+\frac {1}{6} b x^6 \sec ^{-1}(c x) \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[x^5*(a + b*ArcSec[c*x]),x]
[Out]
(a*x^6)/6 + b*Sqrt[(-1 + c^2*x^2)/(c^2*x^2)]*((-4*x)/(45*c^5) - (2*x^3)/(45*c^3) - x^5/(30*c)) + (b*x^6*ArcSec
[c*x])/6
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 83, normalized size = 0.93
| | |
method |
result |
size |
| | |
derivativedivides |
\(\frac {\frac {c^{6} x^{6} a}{6}+b \left (\frac {c^{6} x^{6} \mathrm {arcsec}\left (c x \right )}{6}-\frac {\left (c^{2} x^{2}-1\right ) \left (3 c^{4} x^{4}+4 c^{2} x^{2}+8\right )}{90 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}\right )}{c^{6}}\) |
\(83\) |
default |
\(\frac {\frac {c^{6} x^{6} a}{6}+b \left (\frac {c^{6} x^{6} \mathrm {arcsec}\left (c x \right )}{6}-\frac {\left (c^{2} x^{2}-1\right ) \left (3 c^{4} x^{4}+4 c^{2} x^{2}+8\right )}{90 \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, c x}\right )}{c^{6}}\) |
\(83\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(x^5*(a+b*arcsec(c*x)),x,method=_RETURNVERBOSE)
[Out]
1/c^6*(1/6*c^6*x^6*a+b*(1/6*c^6*x^6*arcsec(c*x)-1/90*(c^2*x^2-1)*(3*c^4*x^4+4*c^2*x^2+8)/((c^2*x^2-1)/c^2/x^2)
^(1/2)/c/x))
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 81, normalized size = 0.91 \begin {gather*} \frac {1}{6} \, a x^{6} + \frac {1}{90} \, {\left (15 \, x^{6} \operatorname {arcsec}\left (c x\right ) - \frac {3 \, c^{4} x^{5} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {5}{2}} + 10 \, c^{2} x^{3} {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}} + 15 \, x \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{c^{5}}\right )} b \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(x^5*(a+b*arcsec(c*x)),x, algorithm="maxima")
[Out]
1/6*a*x^6 + 1/90*(15*x^6*arcsec(c*x) - (3*c^4*x^5*(-1/(c^2*x^2) + 1)^(5/2) + 10*c^2*x^3*(-1/(c^2*x^2) + 1)^(3/
2) + 15*x*sqrt(-1/(c^2*x^2) + 1))/c^5)*b
________________________________________________________________________________________
Fricas [A]
time = 3.06, size = 63, normalized size = 0.71 \begin {gather*} \frac {15 \, b c^{6} x^{6} \operatorname {arcsec}\left (c x\right ) + 15 \, a c^{6} x^{6} - {\left (3 \, b c^{4} x^{4} + 4 \, b c^{2} x^{2} + 8 \, b\right )} \sqrt {c^{2} x^{2} - 1}}{90 \, c^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(x^5*(a+b*arcsec(c*x)),x, algorithm="fricas")
[Out]
1/90*(15*b*c^6*x^6*arcsec(c*x) + 15*a*c^6*x^6 - (3*b*c^4*x^4 + 4*b*c^2*x^2 + 8*b)*sqrt(c^2*x^2 - 1))/c^6
________________________________________________________________________________________
Sympy [A]
time = 3.88, size = 153, normalized size = 1.72 \begin {gather*} \frac {a x^{6}}{6} + \frac {b x^{6} \operatorname {asec}{\left (c x \right )}}{6} - \frac {b \left (\begin {cases} \frac {x^{4} \sqrt {c^{2} x^{2} - 1}}{5 c} + \frac {4 x^{2} \sqrt {c^{2} x^{2} - 1}}{15 c^{3}} + \frac {8 \sqrt {c^{2} x^{2} - 1}}{15 c^{5}} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\\frac {i x^{4} \sqrt {- c^{2} x^{2} + 1}}{5 c} + \frac {4 i x^{2} \sqrt {- c^{2} x^{2} + 1}}{15 c^{3}} + \frac {8 i \sqrt {- c^{2} x^{2} + 1}}{15 c^{5}} & \text {otherwise} \end {cases}\right )}{6 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(x**5*(a+b*asec(c*x)),x)
[Out]
a*x**6/6 + b*x**6*asec(c*x)/6 - b*Piecewise((x**4*sqrt(c**2*x**2 - 1)/(5*c) + 4*x**2*sqrt(c**2*x**2 - 1)/(15*c
**3) + 8*sqrt(c**2*x**2 - 1)/(15*c**5), Abs(c**2*x**2) > 1), (I*x**4*sqrt(-c**2*x**2 + 1)/(5*c) + 4*I*x**2*sqr
t(-c**2*x**2 + 1)/(15*c**3) + 8*I*sqrt(-c**2*x**2 + 1)/(15*c**5), True))/(6*c)
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 3862 vs.
\(2 (75) = 150\).
time = 0.48, size = 3862, normalized size = 43.39 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(x^5*(a+b*arcsec(c*x)),x, algorithm="giac")
[Out]
1/90*c*(15*b*arccos(1/(c*x))/(c^7 + 6*c^7*(1/(c^2*x^2) - 1)/(1/(c*x) + 1)^2 + 15*c^7*(1/(c^2*x^2) - 1)^2/(1/(c
*x) + 1)^4 + 20*c^7*(1/(c^2*x^2) - 1)^3/(1/(c*x) + 1)^6 + 15*c^7*(1/(c^2*x^2) - 1)^4/(1/(c*x) + 1)^8 + 6*c^7*(
1/(c^2*x^2) - 1)^5/(1/(c*x) + 1)^10 + c^7*(1/(c^2*x^2) - 1)^6/(1/(c*x) + 1)^12) + 15*a/(c^7 + 6*c^7*(1/(c^2*x^
2) - 1)/(1/(c*x) + 1)^2 + 15*c^7*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^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x) + 1)^12)*(1/(c*x) + 1)^10) - 70*b*(1/(c^2*x^
2) - 1)^4*sqrt(-1/(c^2*x^2) + 1)/((c^7 + 6*c^7*(1/(c^2*x^2) - 1)/(1/(c*x) + 1)^2 + 15*c^7*(1/(c^2*x^2) - 1)^2/
(1/(c*x) + 1)^4 + 20*c^7*(1/(c^2*x^2) - 1)^3/(1...
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^5\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(x^5*(a + b*acos(1/(c*x))),x)
[Out]
int(x^5*(a + b*acos(1/(c*x))), x)
________________________________________________________________________________________